\NMI_Gateway_Woocommerce_API_Request A

Total Complexity 55
Dependencies 4
Dependents 0
Total lines 362
Lines of code 152
Logical lines of code 78
Comment lines 152
Methods 23
Properties 4

Methods 23

Method Rating Maintainability Complexity Lines of code
remove_empty_data()
A
56 9 19
get_last_name()
S
59 7 13
get_first_name()
S
59 7 13
get_user_detail()
S
62 7 10
set_billing()
S
46 3 39
set_payment_method()
S
68 5 6
__construct()
S
81 1 3
get_path()
S
91 1 2
set_customer()
S
70 1 6
get_data()
S
91 1 2
get_params()
S
91 1 2
get_order()
S
82 1 3
get_method()
S
91 1 2
set_resource()
S
81 1 3
get_order_prop()
S
78 1 3
get_request_data()
S
72 1 5
to_string_safe()
S
81 1 3
to_string()
S
79 1 3
get_callback_params()
S
81 1 3
get_callback()
S
82 1 3
set_callback()
S
81 1 3
get_resource()
S
82 1 3
get_id_dasherized()
S
79 1 3